package com.woniuxy.dao;

import com.woniuxy.pojo.Permission;

import java.util.List;

public interface PermssionMapper {
    public List<Permission> selectAllPermissions();

    /**
     * 通过角色id查询权限集合
     * @param rid
     * @return
     */
    public List<Permission> selectPermissionsByRid(int rid);
}
